<table class="xsui-table xsui-table-striped xsui-table-hover xsui-table-bordered">
    <thead>
        <tr>
            <th>客户编号</th>
            <th>客户姓名</th>
            <th>电话号码</th>
            <th>联系地址</th>
            <th>预约时间</th>
            <th>预约备注</th>
            <th>回访时间</th>
            <th>回访结果</th>
            <th>回访状态</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="list" item="vo">
        <tr data-key="{$vo.id}">
            <td>{$vo.serial_no}</td>
            <td>{$vo.name}</td>
            <td>{$vo.telphone}</td>
            <td>{$vo.address}</td>
            <td>{$vo.appointment_time}</td>
            <td>{$vo.appointment_remark}</td>
            <td>{$vo.review_time}</td>
            <td>{$vo.review_result}</td>
            <td>{$vo.status|sofn_get_state_text='customer-appointment-status',###}</td>
            <td>{$vo.create_time}</td>
            <td>
                <a href="{:AddonU('appointment_edit','id='.$vo['id'].'&customer_id='.$vo['customer_id'])}" class="xsui-btn ui-state-default lnk-edit-dialog" title="预约 {$vo['name']}">编辑预约</a>
            </td>
        </tr>
    </foreach>
</tbody>
</table>
<div class="xsui-pagination">{$page}</div>